package com.billing.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.UserWorkexperienceBeanMapper;
import com.billing.model.entity.TUserWorkexperience;
import com.billing.model.entity.TUserWorkexperienceBuffer;
import com.billing.service.UserWorkexperienceService;

@Service
public class UserWorkexperienceServiceImpl implements UserWorkexperienceService {
	@Resource
	private  UserWorkexperienceBeanMapper userWorkexperienceBeanMapper;
	public int insertTUserWorkexperience(TUserWorkexperience userWorkexperience) {
		return userWorkexperienceBeanMapper.insertTUserWorkexperience(userWorkexperience);
	}
	public TUserWorkexperience selectUserWorkexperienceByUid(String userid) {
		return userWorkexperienceBeanMapper.selectUserWorkexperienceByUid(userid);
	}
	public int updateUserWorkexperience(TUserWorkexperience userWorkexperience) {
		return userWorkexperienceBeanMapper.updateUserWorkexperience(userWorkexperience);
	}
	public TUserWorkexperience selectUserWorkexperienceByid(String id) {
		return userWorkexperienceBeanMapper.selectUserWorkexperienceByid(id);
	}
	@Override
	public int insertByBuffer(TUserWorkexperienceBuffer userWorkexperienceBuffer) {
		return userWorkexperienceBeanMapper.insertByBuffer(userWorkexperienceBuffer);
	}
	@Override
	public int updateByBuffer(TUserWorkexperienceBuffer userWorkexperienceBuffer) {
		return userWorkexperienceBeanMapper.updateByBuffer(userWorkexperienceBuffer);
	}

}
